import { Injectable } from '@nestjs/common';
import { Repository, DataSource } from 'typeorm';
import { MessageTemplate } from './message-template.entity';

@Injectable()
export class MessageTemplateRepository extends Repository<MessageTemplate> {
  constructor(private dataSource: DataSource) {
    super(MessageTemplate, dataSource.createEntityManager());
  }
} 